package com.xxhui.applytransformationdemo;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import com.xxhui.applytransformationdemo.annimation.MyAnimation;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }
    public void on(View v){
        MyAnimation animation = new MyAnimation();
        animation.setRoteteY(30);
        v.startAnimation(animation);
    }
}
